import service from '@/utils/request'
// import { createService } from '@/utils/request'
import { AxiosResponse } from 'axios'
import qs from 'qs'

enum API {
    getAllCategoryURL = '/category/getAllCategory'
}

//首页分类获取
export const getAllCategory = () => {
    return service.newsService.get<any,AxiosResponse<any>>(
        API.getAllCategoryURL
    )
}
